#pragma once
#include "Common.h"
#include <windows.h>
#include <cstdio>

struct HndFToRawFThreadProcParams
{
	//! The count of the done conversions
	volatile LONG* doneCount;

	FILE* rawfile;
	FILE* hndfile;

	uint fileId;

	double* projAngles;
};

//! This is a ThreadProc to convert hnd data to raw
//! data.
//! \param[in] A pointer to an instance of 
//! HndFToRawFThreadProcParams
uint __stdcall HndFToRawFThreadProc(void* param);